from django.urls import path
# from .views import StudentListCreateView, StudentRetrieveUpdateDestroyView
from . import views

urlpatterns = [
    # path('students/', StudentListCreateView.as_view(), name='student-list-create'),
    # path('students/<int:pk>/', StudentRetrieveUpdateDestroyView.as_view(), name='student-rud'),
    path('students/', views.student_list_create),          # 查全部 + 新增
    path('students/<int:pk>/', views.student_rud),         # 查单条 + 整改 + 删除
]